package com.unknow.first.dapp.admin.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.unknow.first.dapp.admin.account.mapper.AddressTransfer;
import org.cloud.vo.ResponseResult;

import java.math.BigDecimal;

public interface AddressTransferService extends IService<AddressTransfer> {

    /**
     * 用户发起站内转账
     * @param to
     * @param amount
     * @param remark
     * @return
     */
    public ResponseResult<?> transfer(Integer coinId, String from, String to, BigDecimal amount, String remark) throws Exception;
}
